import { Model } from "sequelize-typescript";
import { Table, Column } from "./decorate";

@Table({
    underscored: true,
    underscoredAll: true,
    timestamps: true,
    paranoid: true,
    indexes: [
        {
            fields: ['key']
        }
    ]
})
export default class Website extends Model<Website> { 
    @Column
    public key!: string;
    @Column
    public value!: string;
}